package cn.virens.common.boot.rabbit.autoconfig;

import cn.virens.common.util.exception.APIException;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class RabbitManagePropertiesBind extends RabbitManagePropertiesArgs {
    private String destinationType;
    private String destination;
    private String routingKey;
    private String exchange;

    @Override
    public String toString() throws APIException {
        return "Binding {routingKey=" + routingKey + //
                ", destinationType=" + destinationType + //
                ", destination=" + destination +//
                ", exchange=" + exchange + //
                '}';
    }
}
